﻿using System;
using System.Collections.Generic;
using System.Text;
using IDAL;
using Model;

namespace BLL
{
    public class PIMTestItem
    {
        private static readonly IPIMTestItem dal = DALFactory.DataAccess.CreatePIMTestItem();

        public IList<PIMTestItemInfo> GetPIMTestItembySNDT(string productSN, DateTime testTime)
        {
            return dal.GetPIMTestItembySNDT(productSN, testTime);
        }

        //-------------------------------------交调多频段临时库使用-------------------------------------
        public IList<PIMTestItemInfo> GetPIMTestItem_tempbySNDT(string productSN, DateTime testTime)
        {
            return dal.GetPIMTestItem_tempbySNDT(productSN, testTime);
        }

        //-------------------------------------以上为交调相关，以下为二次交调相关-------------------------
        public IList<PIMTestItemInfo> GetPIMSecondTestItembySNDT(string productSN, DateTime testTime)
        {
            return dal.GetPIMSecondTestItembySNDT(productSN, testTime);
        }
    }
}
